-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consistent jar handling for Local and Remote UDFs #849
Consistent jar handling for Local and Remote UDFs #849
Conversation
@@ -89,8 +89,24 @@ private Void processJarEntry(JarEntry entry, JarFile file, | |||
processorContext.addLibrary(path); | |||
} | |||
|
|||
copyFileWithStructure(path, processorContext.getBuildDir()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
processorContext.addDependency(path); to copy files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh wow. cool!
@@ -51,4 +47,13 @@ public Optional<Path> resolveFile(NamePath namePath) { | |||
} | |||
return Optional.of(path); | |||
} | |||
|
|||
@Override | |||
public Optional<Path> resolve(Path path) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
resolve(Path relativePath) ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see comments
This reverts commit 3f6c623. Reverting due to a merge bug which causes it to fail in the build server
* Consistent jar handling for Local and Remote UDFs * addressing review comments (cherry picked from commit 3f6c623)
This pull request introduces consistent handling of jar files for Local and Remote User-Defined Functions (UDFs) by updating the ResourceResolver interface and its implementations. This ensures paths are correctly resolved and utilized throughout the codebase.
Fixes #848